
	<style>
		#metable{
			width:100%;
		}
		#metable th{
			text-align:center;
		}
		#metable td{
			text-align:center;
		}
	</style>
	<include file='Public/header' />
	<h1 class="page-header">评论信息</h1>
	<form action="{:U('search')}" method="post" class="navbar-form navbar-left">
			<div id="search" class="form-group">
			  <input type="text" class="form-control"  name="searchname" placeholder="分数/用户名/产品名称/评论内容">
			   <input type="submit" name="search" class="btn btn-primary" value="搜索">
			</div>
	</form>
	<form method='POST' action='index'>

	<table id="metable" class='table table-striped'>

<tr><th>分数</th><th>评论内容</th><th>商品名称</th><th>用户名称</th><th>评论时间</th><th colspan='2'>操作</th></tr>
<volist name="list" id='vo'>
	<tr>
		<td>{$vo.star}</td>
		<td>{$vo.content}</td>
		<td><a href="{:U('Goods/show',array('id'=>$vo['gid']))}">{$vo.gname}</a></td>
		<td>{$vo.uname}</td>
		<td>{$vo.pdate}</td>
		<td><a href="javascript:if(confirm('确认删除?')) location='{:U('delete',array('id'=>$vo['id']))}'">删除</a></td>
	</tr>
</volist>
</table>
</form>
<div class="text-center">
	<ul class="pagination">{$page}</ul>
</div>
<include file='Public/footer'/>